import jieba

content = '工信处女干事每月经过下属科室都要亲口交代24口交换机等技术性器件的安装工作'
# cut返回generator
# generate = jieba.cut(content, cut_all=False)
# lcut返回List
generate = jieba.lcut(content, cut_all=False)

print(generate)

# cut_all 全模式
generate = jieba.lcut(content, cut_all=True)

print(generate)


content1 = '八一双鹿更名为八一南昌篮球队！'
print(jieba.lcut(content1))

jieba.load_userdict('user_dict.txt')
print(jieba.lcut(content1))
